﻿using Cms.Core.Infrastructure.Attributes;
using Cms.Core.Infrastructure.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cms.Core.Application.Service.UserInfo.Dto
{
    /// <summary>
    /// 用户DTO基类
    /// </summary>
    public class UserDtoBase : EntityDto
    {
        /// <summary>
        /// 用户名
        /// </summary>

        public virtual string UserName { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public virtual string AccountNumber { get; set; }

        /// <summary>
        /// 密码
        /// </summary>

        [DisableSelector]
        public virtual string Password { get; set; }


        /// <summary>
        /// 状态
        /// </summary>

        public virtual int State { get; set; }

        /// <summary>
        /// 姓别默认0男，1女
        /// </summary>
        public virtual int Sex { get; set; }


        /// <summary>
        /// 年龄
        /// </summary>
        public virtual int? Age { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Remarks { get; set; }


        /// <summary>
        /// 头像
        /// </summary>
        public virtual string Icon { get; set; }


        /// <summary>
        /// 是否删除
        /// </summary>
        [DisableSelector]

        public override bool IsDelete { get; set; } = false;

    }
}
